import request from '@/utils/request'
const serviceName = 'Warehouse'
//  列表
export function queryInOuts(data) {
  return request({
    url: serviceName + '/WarehoutInOut/QueryInOuts',
    method: 'post',
    data
  })
}
//  详情
export function getInOut(data) {
  return request({
    url: serviceName + '/WarehoutInOut/GetInOut',
    method: 'post',
    data
  })
}
//  新增 修改
export function saveInOut(data) {
  return request({
    url: serviceName + '/WarehoutInOut/SaveInOut',
    method: 'post',
    data
  })
}
//  删除
export function deleteInOuts(data) {
  return request({
    url: serviceName + '/WarehoutInOut/DeleteInOuts',
    method: 'post',
    data
  })
}

export default {
  queryInOuts,
  getInOut,
  saveInOut,
  deleteInOuts
}
